import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import ImageManage from '@/views/system/image-manage/index'
import HomePage from '@/views/home/index'
import User from '@/views/system/user/index'
Vue.use(Router)

export default new Router({
  mode: "history", // 新增：切换为 History 模式
  routes: [
    {
      path: '/',
      name: 'HomePage',
      component: HomePage
    },
    {
      path: '/user',
      name: 'User',
      component: User
    }
  ]
})
